package lesson.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import lesson.entity.User;
import org.apache.ibatis.annotations.Select;

/**
 * @Description:
 * @Author: Wanzhen
 * @Date: 2022/6/12-15:00
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from user_tbl where username = #{username} and password = #{password}")
    User login(String username, String password);

}
